cmake_minimum_required(VERSION 3.23)
project(CLevelingAdjust)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_EXE_LINKER_FLAGS "-static")

include_directories(eigen-3.4.0/eigen-3.4.0)
set(LIB_PATH D:/Code/Cpp/CLevelingAdjust/libs)

add_executable(CLevelingAdjust
        leveling_adjust.cpp
        CLevelingAdjust.cpp
        Segment.cpp
        utils.cpp)

add_executable(SegmentCalculation
        segment_calc.cpp
        Segment.cpp
        utils.cpp)

#target_link_libraries(SegmentCalculation ${LIB_PATH}/bin/libSegment.dll)
#target_link_libraries(SegmentCalculation ${LIB_PATH}/bin/libhello.dll)
